﻿using Abp.AutoMapper;
using AVIS.OutBound.Stores.Cache;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AVIS.OutBound.Stores.Dto
{
    /// <summary>
    /// 门店信息
    /// </summary>
    [AutoMapFrom(typeof(StoreCacheItem), typeof(Store))]
    public class StoreOutput
    {
        /// <summary>
        /// 门店编号
        /// </summary>
        public virtual string Code { get; set; }

        /// <summary>
        /// 英文名字
        /// </summary>
        public virtual string ENName { get; set; }

        /// <summary>
        /// 中文名字
        /// </summary>
        public virtual string CNName { get; set; }

        /// <summary>
        /// 门店类型
        /// </summary>
        public virtual string LocationType { get; set; }

        /// <summary>
        /// 门店类型（机场【1】，火车站【2】，市区【3】，其他【32】）
        /// </summary>
        public int StoreType { get; set; }

        /// <summary>
        /// 纬度
        /// </summary>
        public virtual double? Latitude { get; set; }

        /// <summary>
        /// 经度
        /// </summary>
        public virtual double? Longitude { get; set; }

        /// <summary>
        /// 电话
        /// </summary>
        public virtual string Telephone { get; set; }

        /// <summary>
        /// 门店地址
        /// </summary>
        public virtual string LocationAddress { get; set; }

        /// <summary>
        /// 距离（距离目的地多少公里）
        /// </summary>
        public double Distance { get; set; }

        /// <summary>
        /// ID
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 传真
        /// </summary>
        public string Fax { get; set; }

        /// <summary>
        /// 所属城市编号
        /// </summary>
        public string CityCode { get; set; }

        /// <summary>
        /// 所属城市名称
        /// </summary>
        public string CityName { get; set; }

        /// <summary>
        /// 区域Code
        /// </summary>
        public string RegionCode { get; set; }

        /// <summary>
        /// 区域名称
        /// </summary>
        public string RegionName { get; set; }

        /// <summary>
        /// 所属国家名称
        /// </summary>
        public string CountryName { get; set; }

        /// <summary>
        /// 门店的营业时间
        /// </summary>
        public StoreHoursDto StoreHours { get; set; }
    }
}
